#include <Lamp_Config.h>

void Lamp_Init(void)
{
    P2->DIR |= BIT0|BIT1|BIT2;                        // P2.0 P2.1 P2.2 set as output
}

void stop(void)
{
    P2->OUT = 0;
}

void red(void)
{
    P2->OUT = BIT0;
}

void green(void)
{
    P2->OUT = BIT1;
}

void blue(void)
{
    P2->OUT = BIT2;
}
